# num = int(input("请输入一个数字："))
count = 1
for num in range(2,100):
    # 定义一个flag
    flag = False
    # 只能1和自身整除
    for i in range(2,num):
        if num%i==0:
            flag = True
            break
    if flag==False:
        print(num,end='\t')
        if count % 5 == 0:
            print()
        count+=1
